﻿<!DOCTYPE html>
<html>
<head>
<title>保留床位完成</title>
<meta charset="utf-8">
<meta name="keywords" content="短照中心-湘潭市康复养老中心;">
<meta name="description" content="短照中心-湘潭市康复养老中心;">
<link rel="stylesheet" rev="stylesheet" href="css/framepage.css" type="text/css" media="screen,print" />
<link rel="stylesheet" type="text/css" href="js/waitBox/wait.css">
<script src="js/vue.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/JSON-js-master/json2.js"></script>
<script src="js/waitBox/wait.js"></script>
<script src="js/purl.js"></script>
<style type="text/css">
@media print {
.no_print {
	display: none;
}
@page {
margin: 0 10mm 0;
}
.form_div ul {
	margin-top: 0;
}
}
</style>
</head>

<body style="background:rbg(216,216,216);">
<div class="form_div">
  <div style="margin:0;padding:0;" id="vue_vm_list">
    <div style="margin:0;padding:0;" v-for="todo in todos">
      <h3>保留床位完成 科室：<span>{{todo.pageParam.subjectRoomName}}</span></h3>
      <ul>
        <li style="color:#0000ff;"><span style="margin-right:20px;">资料录入：</span><span style="margin-right:10px;">{{todo.pageParam.createName}}（{{todo.createTime}}）</span></li>
      </ul>
      <div style="clear:both;"></div>
      <h3>长者：</h3>
      <ul>
        <li style="width:70px;"><span>{{todo.elderForm.name}}</span></li>
        <li><span>{{todo.buildingName}} {{todo.floorName}} {{todo.roomNumber}}室 {{todo.bedNumber}}床</span></li>
      </ul>
      <div style="clear:both;"></div>
      <div style="margin:0;padding:0;" id="houseTypeType_vipCard" v-if="todo.houseTypeType==1">
        <h3>VIP卡入院户型</h3>
        <ul>
          <!--VIP卡查询结果-->
          <li><span>持卡人：{{todo.userVipCardForm.name}}</span></li>
          <li><span>卡ID：{{todo.userVipCardForm.userVipCardId}}</span></li>
          <li><span>卡名：{{todo.userVipCardForm.vipCardName}}</span></li>
          <li><span>户型：{{todo.userVipCardForm.houseTypeName}}</span></li>
        </ul>
        <ul>
          <li><span>{{(todo.userVipCardForm.pricePerDay*365.0).toFixed(2)}}元/年</span></li>
          <li><span>{{todo.userVipCardForm.pricePerDay}}元/天</span></li>
          <li><span>剩余可扣{{getRemainNumber(todo.userVipCardForm)}}天</span></li>
        </ul>
        <ul>
          <li><span>{{getSubsidizationText(todo.userVipCardForm.subsidization, todo.userVipCardForm.subsidizationValue)}}</span></li>
          <li><span>{{todo.userVipCardForm.consumptionWay}}</span></li>
          <li><span>保床折扣{{todo.userVipCardForm.discount}}%</span></li>
          <li><span style="color:#FF0000;">使用状态：{{todo.userVipCardForm.useStatus=='0'?'未使用':(todo.userVipCardForm.useStatus=='1'?'使用中':'已使用完')}}</span></li>
          <li><span style="color:#FF0000;">缴费状态：{{todo.userVipCardForm.payCostStatus=='1'?'正在办理':(todo.userVipCardForm.payCostStatus=='2'?'已经缴费':'已提供发票')}}</span></li>
        </ul>
        <!--
        <ul v-if="todo.userVipCardForm.userVipCardRecordForm==null">
          <li><span style="margin-right:20px;">使用记录：</span><span style="margin-right:10px;">暂无</span></li>
        </ul>
        -->
        <ul v-if="todo.userVipCardForm.userVipCardRecordForm!=null">
          <li><span style="margin-right:20px;">使用记录：</span><span style="margin-right:10px;">{{todo.userVipCardForm.userVipCardRecordForm.elderName}}</span><span style="margin-right:10px;">身份证号：{{todo.userVipCardForm.userVipCardRecordForm.elderCardId}}</span><span style="margin-right:10px;">使用{{todo.userVipCardForm.userVipCardRecordForm.useMonthNum}}个月</span><span style="margin-right:10px;">已扣{{todo.userVipCardForm.userVipCardRecordForm.payNum}}天</span><span style="margin-right:10px;">保留床位{{todo.userVipCardForm.userVipCardRecordForm.bedRetainDayNum}}天</span><span style="margin-right:10px;">{{todo.userVipCardForm.userVipCardRecordForm.returnMoney}}元已返至钱包</span></li>
        </ul>
        <!--
        <ul v-if="todo.userVipCardForm.userVipCardRentForms==null || todo.userVipCardForm.userVipCardRentForms.length==0">
          <li><span style="margin-right:20px;">出租记录：</span></li>
          <li><span style="margin-right:10px;">暂无</span></li>
        </ul>
        -->
        <div style="margin:0;padding:0;" v-if="todo.userVipCardForm.userVipCardRentForms!=null && todo.userVipCardForm.userVipCardRentForms.length>0">
          <ul>
            <li><span style="margin-right:20px;">出租记录：</span></li>
          </ul>
          <div style="margin:0;padding:0;" v-for="userVipCardRentForm in todo.userVipCardForm.userVipCardRentForms">
            <ul>
              <li><span class="tit" style="width:30px;"></span></li>
              <li><span style="margin-right:10px;">承租人姓名：{{userVipCardRentForm.renterName}}</span><span style="margin-right:10px;">身份证号：{{userVipCardRentForm.renterCardId}}</span><span style="margin-right:10px;">出租{{userVipCardRentForm.rentMonthNum}}个月</span><span style="margin-right:10px;">出租时间：{{userVipCardRentForm.updateTime}}</span></li>
            </ul>
          </div>
        </div>
        <ul>
          <li style="color:#ff0000;"> <span style="margin-right:20px;">扣费情况：</span> <span style="margin-right:10px;">总共可扣：{{getTotalMonths(todo.userVipCardForm)}}个月（{{getTotalNumber(todo.userVipCardForm)}}天）</span> <span style="margin-right:10px;">已扣：{{getAlreadyUsedNumber(todo.userVipCardForm)}}天</span> <span style="margin-right:10px;">剩余可扣：{{getRemainNumber(todo.userVipCardForm)}}天</span> </li>
        </ul>
        <ul>
          <li><span style="margin-right:20px;">与持卡人的关系：</span><span style="margin-right:10px;">{{todo.vipCardRelation}}</span></li>
        </ul>
      </div>
      
      <!--VIP卡-->
      <div style="clear:both;"></div>
      <div style="margin:0;padding:0;" id="houseTypeType_ordinary" v-if="todo.houseTypeType==2">
        <h3>普通入院户型</h3>
        <ul>
          <!--普通人选择户型结果-->
          <li><span class="tit" style="width:70px;"></span></li>
          <li style="width:250px;"><span>{{todo.houseTypeName}}</span></li>
          <li><span>{{todo.bedCostPrice}}元/月</span></li>
          <li><span>{{(todo.bedCostPrice/30).toFixed(2)}}元/天</span></li>
          <li><span>{{getSubsidizationText(todo.subsidization, todo.subsidizationValue)}}</span></li>
          <li><span>{{getConsDeductionText(todo.consumptionWay, todo.consDeductionWay)}}</span></li>
          <li><span>保床折扣{{todo.discount}}%</span></li>
        </ul>
      </div>
      <!--普通人选择户型结果-->
      
      <div style="clear:both;"></div>
      <h3>床位详细信息</h3>
      <ul>
        <li><span class="tit" style="width:70px;">选择楼房：</span></li>
        <li><span>{{todo.buildingName}}</span></li>
        <li><span>{{todo.floorName}}</span></li>
        <li><span>{{todo.roomNumber}}{{todo.roomType}}</span></li>
        <li><span>{{todo.bedNumber}}床</span></li>
      </ul>
      <div style="clear:both;"></div>
      <h3>服务费用</h3>
      <ul>
        <li><span class="tit" style="width:70px;">选择护理：</span></li>
        <li><span>{{todo.nursingDesc}}</span></li>
      </ul>
      <ul>
        <li><span class="tit" style="width:70px;">基础服务：</span></li>
        <li><span>{{todo.baseServiceDesc}}</span></li>
      </ul>
      <div style="margin:0;padding:0;" v-if="todo.cgSendOrderForm!=null">
        <ul>
          <li><span class="tit" style="width:70px;">护理员：</span></li>
          <li><span>{{todo.cgSendOrderForm.caregiverName}}（长者回院后，请用派单管理进行重新派单）</span></li>
        </ul>
      </div>
      <div style="clear:both;"></div>
      <ul>
        <li><span class="tit" style="width:70px;">开始日期：</span></li>
        <li><span>{{todo.pageParam.retainStartTime}}</span></li>
      </ul>
      <ul>
        <li><span class="tit" style="width:70px;">结束日期：</span></li>
        <li><span>{{todo.pageParam.retainEndTime}}</span></li>
      </ul>
    </div>
  </div>
  <div class="for_ie_div"><!--为兼容IE-->
    <ul>
      <li>
        <input type="button" value="打印" class="button button1" onclick="window.print();" style="height:38px;"/>
      </li>
    </ul>
  </div>
</div>
<div style="clear:both;"></div>
<script src="js/common.js"></script> 
<script src="js/common_function.js"></script> 
<script src="js/busi/elder_find_by_bed_print.js"></script>
</body>
</html>